package com.heima.apis.wemedia;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heima.model.admin.dtos.AuthDto;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * @author Psycho
 * @create 2022-05-02-11:44
 */
@FeignClient(value = "leadnews-wemedia")
public interface UserClient {

    @PostMapping("/user/api/v1/auth/list")
    public Page listSensitive(@RequestBody AuthDto dto);

}
